﻿<%@ Page Language="C#" MasterPageFile="~/Main/AdminPage.master" AutoEventWireup="true" CodeFile="HouseUpdate.aspx.cs" Inherits="Main_HouseUpdate" Title="修改楼盘" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="width:750px; line-height:35px;">
   <table style="width: 600px; margin:auto; font-size:14px; font-weight:bolder; color:#666; text-align:left; ">
        <tr>
            <td>
                楼盘名称:</td>
            <td>
                <asp:TextBox ID="txtname" runat="server" ValidationGroup="rfv1"></asp:TextBox></td>
        </tr>
        <tr>
            <td>
                类型:</td>
            <td>
                          <asp:DropDownList ID="ddltype" runat="server">
                          <asp:ListItem Value="0">--请选择--</asp:ListItem>
                              <asp:ListItem Value="商品房">商品房</asp:ListItem>
                              <asp:ListItem Value="经济适用房">经济适用房</asp:ListItem>
                              <asp:ListItem Value="商业租房">商业租房</asp:ListItem>
                          </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                均价:</td>
            <td>
                <asp:TextBox ID="txtcost" runat="server" Width="40px"></asp:TextBox>元/㎡
            </td>
        </tr>
        <tr>
            <td>
                地段:</td>
            <td>
                <asp:TextBox ID="txtaddress" runat="server" Width="300px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                户型:</td>
            <td>
                <asp:TextBox ID="txtarea" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                建成日期:</td>
            <td>
                <asp:TextBox ID="txttime" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                联系电话:</td>
            <td>
                <asp:TextBox ID="txttel" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                联系人:</td>
            <td>
                <asp:TextBox ID="txtperson" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                接待中心:</td>
            <td>
                <asp:TextBox ID="txtcenter" runat="server" Width="300px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                开发商:</td>
            <td>
                <asp:TextBox ID="txtdeveloper" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                物业公司:</td>
            <td>
                <asp:TextBox ID="txtcompany" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                楼盘介绍:</td>
            <td>
                <asp:TextBox ID="txtintrduce" runat="server" TextMode="MultiLine" Width="400px" 
                    Height="300px"></asp:TextBox></td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                优惠信息:</td>
            <td>
                <asp:TextBox ID="txtcontent" runat="server" TextMode="MultiLine" Width="400px" 
                    Height="300px"></asp:TextBox></td>
        </tr>
        
         <tr>
           <td>
               上传LOGO图片:</td>
           <td>
                    <asp:FileUpload ID="fulogo" runat="server" Width="240px" />
                    <asp:Button ID="btnuplogo" runat="server" OnClick="btnuplogo_Click"
                        Text="上传" /></td>
       </tr>
        <tr>
            <td>
                LOGO图片:</td>
            <td>
                <asp:Image ID="imglogo" runat="server" Width="200px" Height="150px" /></td>
        </tr>
       <tr>
            <td >
                上传顶部图片:</td>
            <td>
                    <asp:FileUpload ID="futop" runat="server" Width="240px" />
                    <asp:Button ID="btnuptop" runat="server" OnClick="btnuptop_Click"
                        Text="上传" /></td>
        </tr>
        <tr>
            <td>
                顶部图片:</td>
            <td>
                 <asp:Image ID="imgtop" runat="server" Width="450px" Height="200px" /></td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <asp:Button ID="btnupdate" runat="server" onclick="btnupdate_Click" Text="修改" 
                    style="height: 26px" />
            </td>
        </tr>
    </table>
    </div>
</asp:Content>

